package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Depot;
import cn.wolfcode.crm.query.PageResult;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface IDepotService {

    void deleteByPrimaryKey(Long id);

    void saveOrUPdate(Depot depot);

    Depot selectByPrimaryKey(Long id);

    List<Depot> selectAll();

    PageResult query(QueryObject qo);

    //禁用离职状态
    void changeState(Long id);
}
